var config = {};

config.domain = "http://localhost:40000"; //"https://tc.lingchuangkeji.net"; //"http://localhost:40000"; //

config.device = "sp";

config.appKey = "gzlc2020168";

config.list = {
    "login": {"domain": "", "url": "/app/notToken/loginByWxSp", "method": "POST", "sign": "1"},
    "getUser": {"domain": "", "url": "/app/getUserByToken", "method": "GET", "sign": "1"},
	"getUserById": {"domain": "", "url": "/sys/user/getUserById", "method": "GET", "sign": "1"},
	
	"getUploadData": {"domain": "", "url": "/sys/oss/getUploadData", "method": "GET", "sign": "1"},
	"upload": {"domain": "", "url": "/sys/oss/upload", "method": "POST", "sign": "1"},
	"saveImage": {"domain": "", "url": "/sys/oss/saveImage", "method": "POST", "sign": "1"},
	"saveImages": {"domain": "", "url": "/sys/oss/saveImages", "method": "POST", "sign": "1"},
	"getImagesByIds": {"domain": "", "url": "/sys/oss/getImagesByIds", "method": "GET", "sign": "1"},
	
    "addTeam": {"domain": "", "url": "/api/team/add", "method": "POST", "sign": "1"},
	"listTeam": {"domain": "", "url": "/api/team/list", "method": "GET", "sign": "1"},
	"updateTeam": {"domain": "", "url": "/api/team/update", "method": "PUT", "sign": "1"},
	"deleteBetchTeams": {"domain": "", "url": "/api/team/deleteBatch", "method": "DELETE", "sign": "1"},
	"getTeamById": {"domain": "", "url": "/api/team/getTeamById", "method": "GET", "sign": "1"},
	
	"addProject": {"domain": "", "url": "/api/project/add", "method": "POST", "sign": "1"},
	"updateProject": {"domain": "", "url": "/api/project/update", "method": "PUT", "sign": "1"},
	"queryProjectsByOwner": {"domain": "", "url": "/api/project/queryListByOwner", "method": "GET", "sign": "1"},
	"queryProjectsByTeam": {"domain": "", "url": "/api/project/queryListByTeam", "method": "GET", "sign": "1"},
	"queryProjectsByCondition": {"domain": "", "url": "/api/project/queryListByCondition", "method": "POST", "sign": "1"},
	"deleteProject": {"domain": "", "url": "/api/project/delete", "method": "DELETE", "sign": "1"},
	"getProjectById": {"domain": "", "url": "/api/project/getById", "method": "GET", "sign": "1"},
	"queryMyProjects": {"domain": "", "url": "/api/project/queryMyProjects", "method": "POST", "sign": "1"},
	
	"queryListByProjectId": {"domain": "", "url": "/api/worklist/queryListByProjectId", "method": "GET", "sign": "1"},
	"queryAllList": {"domain": "", "url": "/api/worklist/queryAllList", "method": "GET", "sign": "1"},
	"getAllWorkList": {"domain": "", "url": "/api/worklist/getAllWorkList", "method": "GET", "sign": "1"},
	"queryWorkListByCondition": {"domain": "", "url": "/api/worklist/queryByCondition", "method": "POST", "sign": "1"},
	"addWorkList": {"domain": "", "url": "/api/worklist/add", "method": "POST", "sign": "1"},
	"updateWorkList": {"domain": "", "url": "/api/worklist/update", "method": "PUT", "sign": "1"},
	"getWorkListById": {"domain": "", "url": "/api/worklist/queryById", "method": "GET", "sign": "1"},
	"deleteWorkListById": {"domain": "", "url": "/api/worklist/delete", "method": "DELETE", "sign": "1"},
	"deleteWorkListByIds": {"domain": "", "url": "/api/worklist/deleteBatch", "method": "DELETE", "sign": "1"},
	"getWorkListByProjectAndEmployee": {"domain": "", "url": "/api/worklist/getWorkListByProjectAndEmployee", "method": "GET", "sign": "1"},
	
	"getEmployeeByTeam":{"domain": "", "url": "/api/employee/listByTeam", "method": "GET", "sign": "1"},
	"listEmployeeByConditions": {"domain": "", "url": "/api/employee/listEmployeeByConditions", "method": "POST", "sign": "1"},
	"listFreedomEmployeeByOwner": {"domain": "", "url": "/api/employee/listFreedomEmployeeByOwner", "method": "GET", "sign": "1"},
	"addEmployee":{"domain": "", "url": "/api/employee/add", "method": "POST", "sign": "1"},
	"updateEmployee":{"domain": "", "url": "/api/employee/update", "method": "PUT", "sign": "1"},
	"deleteEmployeeById":{"domain": "", "url": "/api/employee/delete", "method": "DELETE", "sign": "1"},
	"listEmployeeByStatus": {"domain": "", "url": "/api/employee/listEmployeeByStatus", "method": "GET", "sign": "1"},
	"getAuditorByTeam": {"domain": "", "url": "/api/employee/getAuditorByTeam", "method": "GET", "sign": "1"},
	"updateDuty": {"domain": "", "url": "/api/employee/updateDuty", "method": "PUT", "sign": "1"},
	"getOneByTeam":{"domain": "", "url": "/api/employee/getOneByTeam", "method": "GET", "sign": "1"},
	"getEmployeeById":{"domain": "", "url": "/api/employee/getEmployeeById", "method": "GET", "sign": "1"},
	
	"listInvites": {"domain": "", "url": "/api/invite/list", "method": "GET", "sign": "1"},
	"addInvite": {"domain": "", "url": "/api/invite/add", "method": "POST", "sign": "1"},
	"updateInvites": {"domain": "", "url": "/api/invite/update", "method": "PUT", "sign": "1"},
	
	"searchUserByPhone": {"domain": "", "url": "/sys/user/searchUserByPhone", "method": "GET", "sign": "1"},
	
	"getCostCategory":{"domain": "", "url": "/api/costcategory/list", "method": "GET", "sign": "1"},
	"addCostCategory":{"domain": "", "url": "/api/costcategory/add", "method": "POST", "sign": "1"},
	"updateCostCategory":{"domain": "", "url": "/api/costcategory/update", "method": "PUT", "sign": "1"},
	"deleteCostCategory":{"domain": "", "url": "/api/costcategory/delete", "method": "DELETE", "sign": "1"},
	
	"getCostListByWorkListId":{"domain": "", "url": "/api/costlist/getCostListByWorkListId", "method": "GET", "sign": "1"},
	"getCostListByOwner":{"domain": "", "url": "/api/costlist/getCostListByOwner", "method": "GET", "sign": "1"},
	"getCostListByProject":{"domain": "", "url": "/api/costlist/getCostListByProject", "method": "GET", "sign": "1"},
	"getCostListByTeam":{"domain": "", "url": "/api/costlist/getCostListByTeam", "method": "GET", "sign": "1"},
	"getCostListByCostCategory":{"domain": "", "url": "/api/costlist/getCostListByCostCategory", "method": "GET", "sign": "1"},
	
	"addSalary": {"domain": "", "url": "/api/salary/add", "method": "POST", "sign": "1"},
	"updateSalary": {"domain": "", "url": "/api/salary/update", "method": "PUT", "sign": "1"},
	"getSalaryByConditions": {"domain": "", "url": "/api/salary/queryByConditions", "method": "POST", "sign": "1"},
	"queryAllSalaryByConditions": {"domain": "", "url": "/api/salary/queryAllSalaryByConditions", "method": "POST", "sign": "1"},
	
	"addReimbursement": {"domain": "", "url": "/api/reimbursement/add", "method": "POST", "sign": "1"},
	"updateReim": {"domain": "", "url": "/api/reimbursement/updateReim", "method": "PUT", "sign": "1"},
	"auditReim": {"domain": "", "url": "/api/reimbursement/auditReim", "method": "PUT", "sign": "1"},
	"queryReimByTeam": {"domain": "", "url": "/api/reimbursement/queryByTeam", "method": "GET", "sign": "1"},
	"getAllReimByOwner": {"domain": "", "url": "/api/reimbursement/getAllReimByOwner", "method": "GET", "sign": "1"},
	"queryReimById": {"domain": "", "url": "/api/reimbursement/queryReimById", "method": "GET", "sign": "1"},
	
	"addOrUpdateConfig": {"domain": "", "url": "/api/user-config/addOrUpdateConfig", "method": "POST", "sign": "1"},
	"getConfig": {"domain": "", "url": "/api/user-config/getConfig", "method": "GET", "sign": "1"},
};

module.exports = config;